Class symantec.itools.awt.util.dialog.DialogBox
All Packages Class Hierarchy This Package Previous Next Index
Class symantec.itools.awt.util.dialog.DialogBox
Object
|
+----Component
|
+----Container
|
+----Window
|
+----Dialog
|
+----symantec.itools.awt.util.dialog.DialogBox
- public class DialogBox
- extends Dialog
This implements a non-resizable dialog box.
It has an available button and closes itself as needed.
-
okButton
- An available button.
-
symantec.itools.awt.util.dialog.DialogBox(Frame)
-
Constructs a DialogBox with the given parent.
-
symantec.itools.awt.util.dialog.DialogBox(Frame, boolean)
- Constructs a DialogBox with the given parent and modality.
-
symantec.itools.awt.util.dialog.DialogBox(Frame, String, boolean)
- Constructs a DialogBox with the given parent, title, and modality.
-
closeDialog()
- Hides and disposes of the dialog.
-
handleEvent(Event)
- Processes events for this component.
-
show()
- Makes this component visible.
okButton
protected java.awt.Button okButton
- An available button.
DialogBox
public DialogBox(Frame f)
- Constructs a DialogBox with the given parent.
- Parameters:
- f - the frame of this dialogÆs parent
DialogBox
public DialogBox(Frame f,
boolean modal)
- Constructs a DialogBox with the given parent and modality.
- Parameters:
- f - the frame of this dialogÆs parent
- modal - true to construct a modal dialog, false to construct a
non-modal dialog
DialogBox
public DialogBox(Frame f,
String s,
boolean modal)
- Constructs a DialogBox with the given parent, title, and modality.
- Parameters:
- f - the frame of this dialogÆs parent
- s - the title for this dialog
- modal - true to construct a modal dialog, false to construct a
non-modal dialog
closeDialog
protected void closeDialog()
- Hides and disposes of the dialog.
handleEvent
public boolean handleEvent(Event event)
- Processes events for this component.
This is a standard Java AWT method which gets called by the AWT to
handle this component's events. The default handler for components
dispatches to one of the following methods as needed: action(),
gotFocus(), lostFocus(), keyDown(), keyUp(), mouseEnter(), mouseExit(),
mouseMove(), mouseDrag(), mouseDown(), or mouseUp().
- Parameters:
- event - the event to handle
- Returns:
- true if the event was handled and no further action is needed,
false to pass the event to this component's parent
- Overrides:
- handleEvent in class Component
show
public void show()
- Makes this component visible.
This is a standard Java AWT method which gets called to show this
component. If this component was invisible due to a previous hide()
call it makes this component visible again.
- Overrides:
- show in class Dialog
All Packages Class Hierarchy This Package Previous Next Index